﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_FormInfo.cs
// 项目名称：CRM 
// 创建时间：2012/4/6
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using DP.Data.SqlClient;
using System.Configuration;


namespace CRM.Entity
{
    /// <summary>
    ///T_FormInfo数据实体
    /// </summary>
    [Serializable]
    [OracleTable(TableName = "T_FormInfo", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_FormInfo", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    public class T_FormInfo_Entity
    {
        #region 变量定义
        ///<summary>
        ///表单编号
        ///</summary>
        private string _formID;
        ///<summary>
        ///表单表名
        ///</summary>
        private string _tableName = String.Empty;
        ///<summary>
        ///表单描述
        ///</summary>
        private string _tableDescription = String.Empty;
        ///<summary>
        ///表单TABLE样式
        ///</summary>
        private string _tableCssClass = String.Empty;
        ///<summary>
        ///表单TR样式
        ///</summary>
        private string _tRCssClass = String.Empty;
        ///<summary>
        ///表单TD样式
        ///</summary>
        private string _tDCssClass = String.Empty;
        ///<summary>
        ///表单描述TD样式
        ///</summary>
        private string _descriptionTDCssClass = String.Empty;
        ///<summary>
        ///表单描述宽度
        ///</summary>
        private int? _descriptionWidth;
        ///<summary>
        ///表单列数
        ///</summary>
        private int? _columnCount;
        ///<summary>
        ///创建时间
        ///</summary>
        private DateTime? _createTime;
        ///<summary>
        ///创建人
        ///</summary>
        private string _createPeople = String.Empty;
        ///<summary>
        ///创建人编号
        ///</summary>
        private string _createPeopleId = String.Empty;
        ///<summary>
        ///修改时间
        ///</summary>
        private DateTime? _modifyTime;
        ///<summary>
        ///修改人
        ///</summary>
        private string _modifyPeople = String.Empty;
        ///<summary>
        ///修改人编号
        ///</summary>
        private string _modifyPeopleId = String.Empty;
        ///<summary>
        ///备注
        ///</summary>
        private string _remark = String.Empty;
        #endregion

        #region 构造函数
        ///<summary>
        ///表单信息
        ///</summary>
        public T_FormInfo_Entity()
        {

        }
        #endregion

        #region 公共属性

        ///<summary>
        ///表单编号
        ///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, ColumnDescription = "表单编号", ColumnName = "FormID")]
        [SqlColumn(PrimaryKey = true, IncrementPrimaryKey = false, ColumnDescription = "表单编号", ColumnName = "FormID")]
        public string FormID
        {
            get { return _formID; }
            set
            {
                _formID = value;
            }

        }

        ///<summary>
        ///表单表名
        ///</summary>		
        [OracleColumn(ColumnDescription = "表单表名", ColumnName = "TableName")]
        [SqlColumn(ColumnDescription = "表单表名", ColumnName = "TableName")]
        public string TableName
        {
            get { return _tableName; }
            set
            {
                _tableName = value;
            }

        }

        ///<summary>
        ///表单描述
        ///</summary>		
        [OracleColumn(ColumnDescription = "表单描述", ColumnName = "TableDescription")]
        [SqlColumn(ColumnDescription = "表单描述", ColumnName = "TableDescription")]
        public string TableDescription
        {
            get { return _tableDescription; }
            set
            {
                _tableDescription = value;
            }

        }

        ///<summary>
        ///表单TABLE样式
        ///</summary>		
        [OracleColumn(ColumnDescription = "表单TABLE样式", ColumnName = "TableCssClass")]
        [SqlColumn(ColumnDescription = "表单TABLE样式", ColumnName = "TableCssClass")]
        public string TableCssClass
        {
            get { return _tableCssClass; }
            set
            {
                _tableCssClass = value;
            }

        }

        ///<summary>
        ///表单TR样式
        ///</summary>		
        [OracleColumn(ColumnDescription = "表单TR样式", ColumnName = "TRCssClass")]
        [SqlColumn(ColumnDescription = "表单TR样式", ColumnName = "TRCssClass")]
        public string TRCssClass
        {
            get { return _tRCssClass; }
            set
            {
                _tRCssClass = value;
            }

        }

        ///<summary>
        ///表单TD样式
        ///</summary>		
        [OracleColumn(ColumnDescription = "表单TD样式", ColumnName = "TDCssClass")]
        [SqlColumn(ColumnDescription = "表单TD样式", ColumnName = "TDCssClass")]
        public string TDCssClass
        {
            get { return _tDCssClass; }
            set
            {
                _tDCssClass = value;
            }

        }

        ///<summary>
        ///表单描述TD样式
        ///</summary>		
        [OracleColumn(ColumnDescription = "表单描述TD样式", ColumnName = "DescriptionTDCssClass")]
        [SqlColumn(ColumnDescription = "表单描述TD样式", ColumnName = "DescriptionTDCssClass")]
        public string DescriptionTDCssClass
        {
            get { return _descriptionTDCssClass; }
            set
            {
                _descriptionTDCssClass = value;
            }

        }

        ///<summary>
        ///表单描述宽度
        ///</summary>		
        [OracleColumn(ColumnDescription = "表单描述宽度", ColumnName = "DescriptionWidth")]
        [SqlColumn(ColumnDescription = "表单描述宽度", ColumnName = "DescriptionWidth")]
        public int? DescriptionWidth
        {
            get { return _descriptionWidth; }
            set { _descriptionWidth = value; }

        }

        ///<summary>
        ///表单列数
        ///</summary>		
        [OracleColumn(ColumnDescription = "表单列数", ColumnName = "ColumnCount")]
        [SqlColumn(ColumnDescription = "表单列数", ColumnName = "ColumnCount")]
        public int? ColumnCount
        {
            get { return _columnCount; }
            set { _columnCount = value; }

        }

        ///<summary>
        ///创建时间
        ///</summary>		
        [OracleColumn(ColumnDescription = "创建时间", ColumnName = "CreateTime")]
        [SqlColumn(ColumnDescription = "创建时间", ColumnName = "CreateTime")]
        public DateTime? CreateTime
        {
            get { return _createTime; }
            set { _createTime = value; }

        }

        ///<summary>
        ///创建人
        ///</summary>		
        [OracleColumn(ColumnDescription = "创建人", ColumnName = "CreatePeople")]
        [SqlColumn(ColumnDescription = "创建人", ColumnName = "CreatePeople")]
        public string CreatePeople
        {
            get { return _createPeople; }
            set
            {
                _createPeople = value;
            }

        }

        ///<summary>
        ///创建人编号
        ///</summary>		
        [OracleColumn(ColumnDescription = "创建人编号", ColumnName = "CreatePeopleId")]
        [SqlColumn(ColumnDescription = "创建人编号", ColumnName = "CreatePeopleId")]
        public string CreatePeopleId
        {
            get { return _createPeopleId; }
            set
            {
                _createPeopleId = value;
            }

        }

        ///<summary>
        ///修改时间
        ///</summary>		
        [OracleColumn(ColumnDescription = "修改时间", ColumnName = "ModifyTime")]
        [SqlColumn(ColumnDescription = "修改时间", ColumnName = "ModifyTime")]
        public DateTime? ModifyTime
        {
            get { return _modifyTime; }
            set { _modifyTime = value; }

        }

        ///<summary>
        ///修改人
        ///</summary>		
        [OracleColumn(ColumnDescription = "修改人", ColumnName = "ModifyPeople")]
        [SqlColumn(ColumnDescription = "修改人", ColumnName = "ModifyPeople")]
        public string ModifyPeople
        {
            get { return _modifyPeople; }
            set
            {
                _modifyPeople = value;
            }

        }

        ///<summary>
        ///修改人编号
        ///</summary>		
        [OracleColumn(ColumnDescription = "修改人编号", ColumnName = "ModifyPeopleId")]
        [SqlColumn(ColumnDescription = "修改人编号", ColumnName = "ModifyPeopleId")]
        public string ModifyPeopleId
        {
            get { return _modifyPeopleId; }
            set
            {
                _modifyPeopleId = value;
            }

        }

        ///<summary>
        ///备注
        ///</summary>		
        [OracleColumn(ColumnDescription = "备注", ColumnName = "Remark")]
        [SqlColumn(ColumnDescription = "备注", ColumnName = "Remark")]
        public string Remark
        {
            get { return _remark; }
            set
            {
                _remark = value;
            }

        }


        #endregion

    }
}
